#ifndef MAINFRM_H
#define MAINFRM_H

#include <QObject>
#include <QMainWindow>

class QStackedWidget;
class QListView;
class WidgetGroup;

class MainFrame : public QMainWindow
{
	Q_OBJECT
public:
	MainFrame();
	virtual ~MainFrame();
private:
	QStackedWidget*		m_stackedWidget;
	WidgetGroup*		m_pWidgetGroup;
private:
	void createAction(void);
private slots:
	void setStyle(QString& style);
	void styleClicked(QAction* action);
	void onAbout(void);
	void save(void);
	void fileNew(void);
	void open(void);
	void fileDelete(void);
	void onAboutQt(void);
	void FillWidgetGroup();
};






#endif